package com.gk.panda.apis.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName: TargetedSms
 * @Description: 靶向短信配置文件获取
 * @author: Sir.yang
 * @date: 2022/11/7 15:20
 * @version: 1.0
 **/
@Data
@Component
public class TargetedSms {

    /**
     * url地址
     **/
    @Value("${targetedSms.loginUrl}")
    private String loginUrl;

    /**
     * 账号
     **/
    @Value("${targetedSms.account}")
    private String account;

    /**
     * 密钥
     **/
    @Value("${targetedSms.secretKey}")
    private String secretKey;

    /**
     * 接口请求地址
     **/
    @Value("${targetedSms.requestUrl}")
    private String requestUrl;
}
